package com.jindu.producer.finance.api;

import com.jindu.producer.finance.model.DictionaryEntity;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * @author jarvischang
 */
@FeignClient(name = "producer-system/dictionary")
public interface DictionaryInterface {


    @RequestMapping(value = "getListByParentId",method = RequestMethod.GET)
    public List<DictionaryEntity> getListByParentId(@RequestParam(value = "parentId") String parentId);

}
